-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(e2e): run e2e tests in parallel #54
Conversation
Makefile
Outdated
@@ -48,7 +48,7 @@ test: | |||
go test -race ./... | |||
|
|||
test-e2e: | |||
go test -race -mod=readonly --failfast -timeout=25m -v $(PACKAGES_E2E) -count=1 --tags=e2e | |||
go test -mod=readonly --failfast -timeout=25m -v $(PACKAGES_E2E) -count=1 --parallel 10 --tags=e2e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the -race
flag, as there were quite a bit of race conditions not related to the testing code, but some in Babylon some in cosmos SDK. Will open an issue to investigate this
-parallel N -> limits the number of concurrent tests to N, we can play around with this, will depend on how much we can stress GH actions, or remove the limit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 Awesome!
"9090", | ||
"26656", | ||
"26657", | ||
"9090/tcp", // only expose what we need |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
Execute e2e tests in parallel.
Speed up from
15m
->3m